import Vue from 'vue'
import Router from 'vue-router'
import routes from './routes'

Vue.use(Router)
// hash
// history
const router = new Router({
	mode: 'history',
	routes: routes
})

export default router